package com.xsdl.builder;

public class Main {

    public static void main(String[] args) {
        String sql = SqlGenerate.createUpdateSql()
                .table("user")
                .setString("name", "zhangsan")
                .setRaw("age", "3")
                .where()
                .eqString("1", "1")
                .eqRaw("sex", "1")
                .build();
        // UPDATE user SET name = 'zhangsan', age = 3 WHERE 1 = '1' AND sex = 1
        System.out.println(sql);
    }

}
